import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.ListView;
import javafx.scene.control.Slider;
import javafx.stage.Stage;

import java.io.IOException;
import java.net.URL;
import java.util.ResourceBundle;

public class Controller implements Initializable {
    @FXML
    Label playingLabel;
    @FXML
    Slider voidSlider;
    @FXML
    Button nextBtn;
    @FXML
    ListView waitList;
    @FXML
    ListView dwList;

    @FXML
    public void voidSlider_change(){

    }

    @Override
    public void initialize(URL location, ResourceBundle resources) {
        // TODO Auto-generated method stub
//        modularMain.waitListView = waitList;
//        modularMain.dwList = dwList;
//        UpDateList upDateList = new UpDateList();
//        upDateList.dwList = dwList;
//        upDateList.waitList =waitList;
//        upDateList.modularMain=modularMain;
//        upDateList.start();
    }

    public void runSetting() throws IOException {
        Stage anotherStage = new Stage();
        Parent anotherRoot = FXMLLoader.load(getClass().getResource("sample2.fxml"));
        Scene anotherScene = new Scene(anotherRoot);
        anotherStage.setTitle("Another Window");
        anotherStage.setScene(anotherScene);
        anotherStage.show();
    }


}
